home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Testing & Debugging / Performance tools / 604 Performance / Read Me < prev   
Encoding:
Text File  |  1995-10-25  |  1.5 KB  |  21 lines  |  [TEXT/ttxt]

  1. INTRODUCTION
  2.  
  3. The 604Performance file is a sample application that uses the Performance Monitor build into the PowerPC 604 chips (see secion 9 of the PowerPC 604 RISC Microprocessor User's Manual, IBM and Motorola).  This application, version 1.0b1, has not been thoroughly tested and may cause crashes or data loss.  It also does not support all possible settings for the MMCR0 register.
  4.  
  5. The application sets up and displays performance metrics based upon the PMC1 and PMC2 special purpose registers of the PowerPC 604. All of the metrics are relative to when the registers were last cleared. There may be some error in the "counts per second" data, because 
  6. the sample time may be slightly more than a second when the foreground task fails to yield time to this application.
  7.  
  8. To use the application, enter which events you would like monitor in the dialog box on startup.  You can also type 'R' to change these events while the application is in the foreground.  Type 'Q' to quit the application.  The application only displays metrics when it is placed in the background.
  9.  
  10.  
  11. BUILDS
  12.  
  13. To assemble the "604performance.s" file execute the following command in MPW 3.3.1 with
  14. Macintosh on RISC SDK:
  15.  
  16.      PPCAsm -o 604performance.s.o 604performance.s
  17.  
  18. Note in the 604performance.s file that the mtspr r5,952 instruction is not supported by the PPCAsm tool, so that instruction has been built by hand with dc.l.
  19.  
  20. The "604Performance.ยต" CodeWarrior project uses the output of the PPCAsm and the .c and .rsrc files to generate the resulting application.
  21.